package com.ethink.gateway.properties;

import com.ethink.gateway.model.RequestEntityRule;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author yunduo
 * @date 2019/1/6
 */
@Data
@Component
@ConfigurationProperties(prefix = "ethink.gateway.api")
@RefreshScope
public class GateWayApiProperties {

    private List<RequestEntityRule> requestEntityRules;

}
